package com.baidu.image;

import com.baidu.aip.imagesearch.AipImageSearch;
import com.baidu.structs.AipPicSearch;
import com.baidu.structs.AipPicUpload;

/**
 * Hello world!
 *
 */
public class App 
{
    public static void main( String[] args )
    {
        String img = "..\\lib\\sky.png";
        AipPicUpload.upload(img);
        AipPicSearch aipPicSearch = AipPicSearch.getInstance();
        String brief = aipPicSearch.getBrief(img);
        System.out.println("search brief:" + brief);
    }
}
